package nc.tb.wf.ui;

import org.jgraph.graph.CellViewRenderer;
import org.jgraph.graph.VertexView;

public class StatusNodeVertexView extends VertexView {
	public static transient StatusNodeVertexRenderer	renderer = new StatusNodeVertexRenderer(false);
	
	public static transient StatusNodeVertexRenderer	rendererHasBorder = new StatusNodeVertexRenderer(true);
	private boolean hasBorder = false;
	
	public StatusNodeVertexView(Object cell,boolean hasBorder) {
		super(cell);
		this.hasBorder = hasBorder;
	}

	public StatusNodeVertexView()
	{
	}

	public StatusNodeVertexView(Object cell)
	{
		super(cell);
	}

	@Override
	public CellViewRenderer getRenderer()
	{
		return hasBorder?rendererHasBorder:renderer;
	}
}
